<template>
    <div class="header" :style="{ 'background': `url(${infoBgImage}) no-repeat` }">
        <h1 v-text="infoTopTit"></h1>
        <p v-text="infoTopEn"></p>
    </div>
</template>
<script>
    export  default {
        props: ["hdBgUrl", "infoTopTitle", "infoTopEnglish"],
        data() {
            return {
                infoBgImage: this.hdBgUrl,
                infoTopTit: this.infoTopTitle,
                infoTopEn: this.infoTopEnglish
            }
        }
    }
</script>

<style lang="scss" scoped>
    .header {
        text-align: center;
        color: #ffffff;
        height: 220px;
        h1 {
            padding-top: 80px;
            font-size: 30px;
            font-weight: 400;
            letter-spacing: 4px;
        }
        p {
            font-size: 16px;
            opacity: 0.5;
        }
    }
</style>